package com.tzy.parser.core;

public interface Parser {


    /*
    * 通用解析
    * */
    public Object parse(MetaObject obj , String template);


    public class MetaObject {
        private String name;
        private Object obj;

        public MetaObject(String name, Object obj) {
            this.name = name;
            this.obj = obj;
        }

        public String getName() {
            return name;
        }

        public Object getObj() {
            return obj;
        }
    }

}
